how to find linear transformation